import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;

public class B {

    public void write(String data) {
        String path = B.class.getResource(A.TMP).getPath().substring(1);
        try {
            BufferedWriter out = new BufferedWriter(new FileWriter(path));
            out.write(data);
            out.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
